package com.hanserwei.mydemo.stream;

import java.util.stream.IntStream;

public class MatchTest1 {
    public static void main(String[] args) {
        IntStream intStream = IntStream.of(1, 3, 5);
        // noneMatch
        System.out.println(intStream.noneMatch(x -> (x & 1) == 0));
    }
}
